package pri.zxx.webdemo.config.properties;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

/**
 * @author zxx
 * @desc swagger 配置文档信息
 * @createTime 2019-02-22-下午 2:20
 */
@ConfigurationProperties(value = "swagger.config")
@Data
@Accessors(chain = true)
@EqualsAndHashCode
public class SwaggerProperties implements Serializable {
    private static final long serialVersionUID = 8294103005L;
    //app名称
    private String appName;
    //ip地址
    private String ipAddress;
    //端口
    private String appPort;
    //扫描路径
    private String packLocation = "pri";//controller 路径
    //描述
    private String desc = "description ";//文档描述
    //创建联系信息
    private String contact = "contact";//创建者信息
    //版本号
    private String version = "dev";//版本号

}
